package com.ruoyi.pay.type.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 支付类型对象 mg_pay_type
 * 
 * @author 王强
 * @date 2023-12-23
 */
public class PayType extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 支付类型 */
    @Excel(name = "支付类型")
    private String typeName;

    /** 是否开启【1开启 0 关闭】 */
    @Excel(name = "是否开启【1开启 0 关闭】")
    private Integer status;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private Integer isDefault;

    /** 特殊支付方式【 0 不是 1 是】 */
    @Excel(name = "特殊支付方式【 0 不是 1 是】")
    private Integer isSpecial;

    /** 支付logo */
    @Excel(name = "支付logo")
    private String logo;
    
    /**
     * 父级编号
     */
    private Integer pId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }
    public void setIsSpecial(Integer isSpecial) 
    {
        this.isSpecial = isSpecial;
    }

    public Integer getIsSpecial() 
    {
        return isSpecial;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("isDefault", getIsDefault())
            .append("isSpecial", getIsSpecial())
            .append("logo", getLogo())
            .toString();
    }

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}
}
